package com.kai.demo;

import javax.swing.*;

/**
 * Created by wukai on 16/1/3.
 */
public class LowPoint extends AbstractButton {

    public LowPoint() {
        this.setTextFieldFirst(new JTextField());
        this.setTextFieldSecond(new JTextField());
        this.setButton(new JButton("低位"));
    }


    @Override
    public JButton getButton() {
        return button;
    }

    @Override
    public JTextField getTextFieldFirst() {
        return textFieldFirst;
    }

    @Override
    public JTextField getTextFieldSecond() {
        return textFieldSecond;
    }

    public void setTextFieldFirst(JTextField textFieldFirst) {
        this.textFieldFirst = textFieldFirst;
    }

    public void setTextFieldSecond(JTextField textFieldSecond) {
        this.textFieldSecond = textFieldSecond;
    }

    public void setButton(JButton button) {
        this.button = button;
    }
}
